<template>
  <div>
    <el-container>
      <el-aside width="200px">
        <el-menu
          style="height: 736px"
          :router="true"
          default-active="2"
          class="el-menu-vertical-demo"
          background-color="black"
          text-color="#fff"
          active-text-color="#ffd04b"
        >
          <el-menu-item index="1-1">
            <span slot="title">首页</span>
          </el-menu-item>

          <el-submenu index="2">
            <template slot="title">
              <span>系统设置</span>
            </template>
            <el-menu-item index="2-1">
              <span slot="title">导航四</span>
            </el-menu-item>
            <el-menu-item index="2-2">
              <span slot="title">导航四</span>
            </el-menu-item>
          </el-submenu>

          <el-submenu index="3">
            <template slot="title">
              <span>站点配置</span>
            </template>
            <el-menu-item index="3-1">
              <span slot="title">导航四</span>
            </el-menu-item>
            <el-menu-item index="3-2">
              <span slot="title">导航四</span>
            </el-menu-item>
          </el-submenu>

          <el-submenu index="4">
            <template slot="title">
              <span>权限控制</span>
            </template>
            <el-menu-item index="4-1">
              <span slot="title">导航四</span>
            </el-menu-item>
            <el-menu-item index="4-2">
              <span slot="title">导航四</span>
            </el-menu-item>
          </el-submenu>

          <el-submenu index="5">
            <template slot="title">
              <span>用户管理</span>
            </template>
            <el-menu-item index="5-1">
              <span slot="title">导航四</span>
            </el-menu-item>
            <el-menu-item index="5-2">
              <span slot="title">导航四</span>
            </el-menu-item>
          </el-submenu>

          <el-submenu index="6">
            <template slot="title">
              <span>商品管理</span>
            </template>
            <el-menu-item index="6-1">
              <span slot="title">导航四</span>
            </el-menu-item>
            <el-menu-item index="6-2">
              <span slot="title">导航四</span>
            </el-menu-item>
          </el-submenu>

          <el-submenu index="7">
            <template slot="title">
              <span>订单管理</span>
            </template>
            <el-menu-item index="7-1">
              <span slot="title">导航四</span>
            </el-menu-item>
            <el-menu-item index="7-2">
              <span slot="title">导航四</span>
            </el-menu-item>
          </el-submenu>
        </el-menu>
      </el-aside>
      <el-container>
        <el-header></el-header>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
  created() {},
};
</script>
<style>
.el-header {
  background-color: rgb(127, 127, 127);
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #ffffff;
  color: #333;
  text-align: center;
  line-height: 160px;
}
</style>